﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GG.Base;
using System.Windows.Markup;
using SharpVectors.Converters;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;

namespace GGSim
{
    public class Block : PositionAble, IGridDrawable
    {
        public Block()
        {
            drawing = (DrawingGroup)SvgUtils.getDrawingFromSvg("Block.svg");
            group = new TransformGroup();
            drawing.Transform = group;

            group.Children.Add(new TranslateTransform());

            group.Children.Add(new RotateTransform());

            group.Children.Add(new ScaleTransform(1, -1)); // fix flip;

        }
    }
}
